package com.ken.springcloud;

import com.ken.springcloud.anno.RemarkInfo;
import com.ken.springcloud.enums.UsedComponent;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * <ul>
 * <li>Title: ZuulApplication_9527</li>
 * <li>Description: TODO </li>
 * </ul>
 *
 * @author swc
 * @date 2021/8/28 17:15
 */
@SpringBootApplication
@EnableZuulProxy//一般使用代理
@RemarkInfo(usedComponent = {UsedComponent.Eureka},
        remark = "zuul 网关的使用 注意配置host文件 和 application.yml,访问地址ken.springcloud.com:9527/mydept/请求服务的地址")
public class ZuulApplication_9527 {

    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication_9527.class,args);
    }

}
